package com.ruoyi.assest.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 购置预算对象 asset_gzyusuan_zhu
 * 
 * @author ruoyi
 * @date 2024-12-02
 */
public class AssetGzyusuanZhu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一标识 */
    private Long id;

    /** 申请公司id */
    private String sid;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 填报日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "填报日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String dname;

    /** 预算数量 */
    @Excel(name = "预算数量")
    private Long sum;

    /** 公司预算总价 */
    @Excel(name = "公司预算总价")
    private Long sumprice;

    /** 已购数量 */
    @Excel(name = "已购数量")
    private Long num;

    /** 已购总价 */
    @Excel(name = "已购总价")
    private Long summoney;

    /** 流程状态 */
    @Excel(name = "流程状态")
    private String status;

    /** 购置预算明细信息 */
    private List<AssetGzyusuanZi> assetGzyusuanZiList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSid(String sid) 
    {
        this.sid = sid;
    }

    public String getSid() 
    {
        return sid;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setDname(String dname) 
    {
        this.dname = dname;
    }

    public String getDname() 
    {
        return dname;
    }
    public void setSum(Long sum) 
    {
        this.sum = sum;
    }

    public Long getSum() 
    {
        return sum;
    }
    public void setSumprice(Long sumprice) 
    {
        this.sumprice = sumprice;
    }

    public Long getSumprice() 
    {
        return sumprice;
    }
    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }
    public void setSummoney(Long summoney) 
    {
        this.summoney = summoney;
    }

    public Long getSummoney() 
    {
        return summoney;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public List<AssetGzyusuanZi> getAssetGzyusuanZiList()
    {
        return assetGzyusuanZiList;
    }

    public void setAssetGzyusuanZiList(List<AssetGzyusuanZi> assetGzyusuanZiList)
    {
        this.assetGzyusuanZiList = assetGzyusuanZiList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sid", getSid())
            .append("title", getTitle())
            .append("startTime", getStartTime())
            .append("dname", getDname())
            .append("sum", getSum())
            .append("sumprice", getSumprice())
            .append("num", getNum())
            .append("summoney", getSummoney())
            .append("status", getStatus())
            .append("assetGzyusuanZiList", getAssetGzyusuanZiList())
            .toString();
    }
}
